What web servers use `COOKIE` instead of `HTTP_COOKIE`?
Posted
by Smack my batch up
on Stack Overflow
See other posts from Stack Overflow
or by Smack my batch up
Published on 2009-10-25T13:46:02Z
Indexed on
2010/03/16
19:01 UTC
Read the original article
Hit count: 250
In the source code of the Perl module CGI.pm
, in the submodule CGI::Cookies.pm, there is the following line:
$raw_cookie = $ENV{HTTP_COOKIE} || $ENV{COOKIE};
I'm interested in $ENV{COOKIE}
here. Are there any web servers (obsolete or otherwise) which transmit cookie information using the COOKIE
environment variable instead of the HTTP_COOKIE
used by Apache? I've never seen COOKIE
and other CGI libraries don't seem to support it.
© Stack Overflow or respective owner